package com.atguigu.service.edu_order.feignClient;

import com.atguigu.commonutils.ordervo.CourseInfoVo;
import com.atguigu.commonutils.ordervo.UcenterMemberEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import javax.servlet.http.HttpServletRequest;

/**
 * @description:
 * @author: Administrator
 * @date: 2021-04-24 21:26
 */
@Component
@FeignClient(name = "service-edu")
public interface OrderFeignCourse {

    //order消费者调用生产者course，条件根据courseid
    @GetMapping("/vue-admin-template/subjectConditionSelect/getCourseInfo/{courseId}")
    public CourseInfoVo getCourseInfo(@PathVariable(value = "courseId") String courseId);

}
